<div id="page_content">
    <?php
    echo '<h2>' . $this->t->_('Messages') . '</h2>';
    echo '<table><thead><tr><th>' . $this->t->_('Time') . '</th><th>' . $this->t->_('Name') . '</th><th>' . $this->t->_('Message') . '</th></tr></thead>';
    foreach ($this->messages as $row) {
        if ($row->active == 0) {
            echo '<tr class="not_active">';
        } else {
            echo '<tr>';
        }
        echo '<td><a href="' . ADMIN_URL . '/pages/modify/id/' . $row->sid . '/a/edit/mid/' . $row->id . '">' . date($this->config->date, strtotime($row->time)) . ' ' . date($this->config->time, strtotime($row->time)) . '</a></td><td><a href="' . ADMIN_URL . '/pages/modify/id/' . $row->sid . '/a/edit/mid/' . $row->id . '">' . $row->name . '</a></td><td><a href="' . ADMIN_URL . '/pages/modify/id/' . $row->sid . '/a/edit/mid/' . $row->id . '">' . $row->text . '</a></td></tr>';
    }
    echo '</table>';
    ?>
</div>
<div id="sidebar">

</div>

